�� ������ ����� ������Ʈ�� ���� Web����� create �ϰ� remove �ϱ� ���� �ʿ���
�ܰ��� ������ ����մϴ�. Web �� �����ϱ� ���Ͽ�, �� ���� ���� �ܰ谡 �ֽ��ϴ� - Stage
1 - Web Module Wizard �� Stage 2 - Web Module Settings in the Paths Dialog

|
Add module �����翡 ���� �� ���� ���λ��� ����, Java
����� �ۼ��� ����ϰ� �ִ� Creating
Modules ������ �����Ͻʽÿ�.
|
1. Create/Import ������ (������ 1).
�� �ܰ迡�� ����� �����ϰ� �;��ϴ� ��� Ÿ���� �����մϴ�.
Create New:
Web Module ���� �����մϴ�.

2. Module
name & Content Root ������ (������ 2).

Module Name
|
���ϴ� �� ��� �̸����� Ÿ���� �Ͻʽÿ�.
|
Module Content Root
|
��� ����(��� ��Ʈ, web.xml)�� ��ġ�ϴ� ��θ� �����մϴ�.
��δ� �������� �Ǵ� ellipsis ��ư�� ������ �ҷ����� Select
Path ���̾�α� ����Ͽ� �Էµ� �� �ֽ��ϴ�.
|
Module File will
be saved in:
|
�г��� ��� .iml ���Ͽ� ���� ��ġ ������ �����ݴϴ�. ��δ� �������� �Ǵ� Change Directory... ��ư�� ������ �ҷ����� Select
Path ���̾�α� ����Ͽ� �Էµ� �� �ֽ��ϴ�.
|
|
����� Next �� ���� ��, ���� �������� �Էµ� ����Ʈ ��Ʈ ������ ��ſ� ���� �����ϱ⸦ �����ϴ� ���� ���ٸ� IDEA�� ��ſ��� Directory Does Not Exist ������Ʈ�� ��� �� �� �Դϴ�.

3. Application
Server Integration ������ (������ 3).
�� �ܰ迡�� ����� ���ø����̼� ���� ���� �Ű� ������ ��Ӵٿ� ���� ����Ͽ� ����� �� ���� �� �ֽ��ϴ�.

���� ����� Generic Server
Integration�� �����ϸ� ������ Web ����� � Ư���� ���ø����̼� �������� ��ε��� ���� ���Դϴ�. WebLogic Server �Ǵ� Tomcat
������ �����ϸ鼭, ������ ����� �����ϴ� ������ ���õ� ���̰�, ���õ� ���ø����̼� ������ ������ �� �ֽ��ϴ�. ���� WebLogic Server �� ��쿡 WebLogic Ư���� ���� ������( weblogic.xml )�� ���� �� ���� ������ ���Դϴ�.
���ø����̼� ���� ������ ����/�����ϱ� ����, Configure... ��ư�� �����ʽÿ�. Application
Servers
���̾�αװ� ���� ���Դϴ�.
4. Web
module deployment descriptor (������ 4).
���� ����� ���� WebLogic
������ ��� �����ϰ� �ϰ� �Ǹ� ����� �� ��� �Ӹ� �ƴ϶� �� ������ ���Ͽ� ���� WebLogic Ư���� ���� ����� ���� web.xml ���Ͽ� ��θ� �����Ͻʽÿ�.

�� ���� ������ ���� ������� ǥ�μ� ǥ�õ˴ϴ�.
Type
|
������ ���� �������� Ÿ���� �����ݴϴ�.
|
Path
|
����� �� ��� ���� ����� ��θ� �����ݴϴ�.
|
Version
|
������ ���� ������ ������ ǥ���մϴ�.
|
|
��� ���� ����� �����ϱ� ����, ����� ǥ�� ���� ��ư�� ����� �� �ֽ��ϴ�.
Add...
|
���� ����� ��Ͽ� �߰��ϱ� ���� �����ʽÿ�. Resource
Location ���̾�αװ� ��Ÿ���ϴ�

Ÿ�����ϰų� �Ǵ� Select
Path ���̾�α� �θ��� ���� ellipsis ��ư�� ������ ���� ����� ��θ� �Է��մϴ�.

|
���� ��ΰ� �� ���� ������ ����Ű�� �װ��� File
Templates: J2EE ���̾�α��� ������ ���ʸ� �ϸ鼭 ������ ���Դϴ�.
|
|
Edit...
|
��Ͽ��� ���� ���õ� ���� ����� �����ϱ� ���� �����ʽÿ�. Deployment
Descriptor Location ���̾�αװ� ��Ÿ���ϴ�.

�ؽ�Ʈ �ʵ忡�� �װ��� �ٲٰų� �Ǵ� Select
Path ���̾�α� �θ��� ���� ellipsis ��ư�� ������ ���� ����� ��θ� �Է��մϴ�.

|
���� ��ΰ� �� ���� ������ ����Ű�� �װ��� File
Templates: J2EE ���̾�α��� ������ ���ʸ� �ϸ鼭 ������ ���Դϴ�.
|
Web Module Deployment
Descriptor�� WebLogic Web Module Deployment Descriptor �� ���� ����� ���-�ٿ� Deployment descriptor version ��Ͽ��� ���� ������ ������ ������ �� �ֽ��ϴ�.
|
Delete
|
��Ͽ��� ���� ���õ� ���� ����� �����ϱ� ���� �����ʽÿ�.
Web Module Deployment Descriptor�� WebLogic
Web Module Deployment Descriptor�� ���� �Ұ���.
|
|
5. Setup
web resource directory (������ 5).
����� ���� ���� ���ο��� �ᱹ�� ��ġ�ǰ� �;��ϱ⸦ ���ϴ� JSP ����, �ΰ��� ���� ������ ��� ���� �� Ư���� �ڿ��� �����ϴ� �� �ڿ� ������ ���� �����Ͻʽÿ�.

Setup web resource
directory
|
�� �� ���� �� �ڿ� ������ �����ϱ� ���� �� �ɼ� ��ư�� �����Ͻʽÿ�.
|
Web resource directory
path
|
����� ����̺� ������ ����� �� �ڿ� ������ ��θ� �Է��Ͻʽÿ�.
��δ� �������� �Ǵ� ellipsis ��ư�� ������ �ҷ����� Select
Path ���̾�α� ����Ͽ� �Էµ� �� �ֽ��ϴ�.
|
Relative path in
deployment directory
|
���� ���� ��Ʈ�� ������ ����� �� �ڿ� ������ ��θ� �Է��Ͻʽÿ�.
|
Do not setup web
resource directory
|
���� ����� �� �� ���� �� �ڿ� ������ �����ϰ� �;����� �ʴ´ٸ� �� �ɼ� ��ư�� �����Ͻʽÿ�.
|
|
6. Setup
web module exploded directory (������ 6).
�� ���ø����̼� ������ ���� ���Ǵ� �� ��� exploded ������ ���� �����Ͻʽÿ�.

Setup web module
exploded directory
|
�� �� ���� �� ���
exploded ������ �����ϱ� ���Ͽ�
�� �ɼ� ��ư�� �����Ͻʽÿ�.
|
Web resource directory
path
|
����� �� ���
exploded ������ ��θ� �Է��Ͻʽÿ�.
��δ� �������� �Ǵ� ellipsis ��ư�� ������ �ҷ����� Select
Path ���̾�α� ����Ͽ� �Էµ� �� �ֽ��ϴ�.
|
Do not setup web
module exploded directory
|
���� ����� �� �� ���� �� ���
exploded ������ �����ϰ� �;����� �ʴ´ٸ� �� �ɼ� ��ư�� �����Ͻʽÿ�.
|
|
7. Setting
a source directory ������ (������ 7)

Create source directory
|
���� ����� �� �� ���� ��Ʈ �ҽ� ������ �����ϰ� �;����� ������ �� �ɼ� ��ư�� �����Ͻʽÿ�.
�Է��� ��δ� ������ �ܰ迡�� ������ ����Ʈ ��Ʈ ������ �����Ǿ� �ֽ��ϴ�. ��δ� �������� �Ǵ� ellipsis ��ư�� ������ �ҷ����� Select
Path ���̾�α� ����Ͽ� �Էµ� �� �ֽ��ϴ�.
|
Do not create source
directory
|
���� ����� �� �� ���� �ҽ� ������ �����ϰ� �;����� ������ �� �ɼ� ��ư�� �����Ͻʽÿ�.
|
The following directory
will be marked as a source directory:
|
�г��� ����� ����̺� ������ �ҽ� ������ ��Ҹ� ǥ���մϴ�. Create source
directory �ɼ� ��ư�� ���õ� ���� ��� �����մϴ�.
|
|
����, ���� ������ �ܰ迡�� ����� Module
content root�μ� ���� ������ �����ϴ� ������ �����ؿԴٸ�IDEA�� �ڹ� �ҽ��� �ű�� ã�� ���� �˻��� ������ ���Դϴ�.

����� Stop Searching�� ������ �Ϳ� ���� � �ð��̶� �˻��ϴ� ���� ���� �� �ֽ��ϴ�.
���� ����� Next�� ������ ��ſ��� ������ ���̾�αװ� ������Ʈ�� ���Դϴ�:

�˻��� �Ϸ�ǰ� �� �Ŀ�(�Ϸ�ǰų� ���� �ʰų� �� �߿� �ϳ�) ���� �����찡 ��Ÿ���ϴ�.

����� ���ο� ���� Sources�μ� ���ԵDZ⸦ ���ϴ� ������ �����ϰ� Next�� �����ʽÿ�.
8. Setting
a compiler output path ������ (������ 8).

�����ϴ� �ʵ忡�� �� ���� �����Ϸ� ��� ��θ� �����Ͻʽÿ�. ����� IDEA�� ���� ���ȵ� �̸��� ä���ϰų� �Ǵ� �ٸ� ���� �Է��� �� �ֽ��ϴ�. ��δ� �������� �Ǵ� ellipsis ��ư�� ������ �ҷ����� Select
Path ���̾�α� ����Ͽ� �Էµ� �� �ֽ��ϴ�.
����� �����ϱ� ���� Finish�� �����ʽÿ�.
�ܰ�
2- ��� ���̾�α��� �� ��� ����
|
Add Modules �����簡 ������ �� �Ŀ� ����� ���Ӱ� ������ ����� ������ �� �ʿ䰡 �������� �ϴ�. Paths ���̾�α��� �ڵ������� ������ ���Ӱ� ������ ����� ��Ͽ��� ���õ˴ϴ�.
���� ����� ��� ������ ���ٸ� Apply�� �����ų� ��� ������ �����ϱ� ���� OK�� �����ʽÿ�. �� �� ������ Web ����� J2EE View�� ��Ÿ���ϴ�.
Web ����� �����ϱ� ���Ͽ�:
Delete �� �����ų� ������ ����� �ű�� ���õ� �� J2EE View�� ����� ������ ��ư�� Ŭ���ϰ� �� �Ŀ� ��Ÿ���� ���� ������ Delete ���� �����մϴ�.
������ ����� File |
Settings: Project Settings: Paths ���̾�α��� Module List ���� ���õ� �� Remove ��ư�� �����ʽÿ�.

OK�� ������ ������Ʈ�κ��� ����� �����մϴ�. ����, ��� ������ �ǵ帮�� ���� ���·� �����ֽ��ϴ�.
|